This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: LotusScript: Test if object property exists - how?
Feedback Type: Question
Product Area: Domino Server
Technical Area: Application development
Platform: Windows 2003 server
Release: All
Reproducible: Not applicable
Hello everyone!
I couldn't find a LotusScript forum, so I'm posting here. I have code like this:
Dim objCol As NotesDocumentCollection
Set objCol = doc.Responses
If objCol.Count>0 Then
Print "Count is > 0"
End If
...which give me a "Object variable not set" when it hit the "If objCol.Count..." statement. Is there a way to check if "Count" is set? I have checked and objCol is not null and is an object. In javascript you could say something like "if(objCol.Count) {".
Any help would be very appreciated! If there is a better forum, please let me know.
Thanks,
Alex
Feedback number WEBB8U6UNG created by ~Delores Umjipyverikle on 05/10/2012
Status: Open
Comments: